﻿using System;
using Microsoft.EntityFrameworkCore.Migrations;

#nullable disable

namespace Day13.IRepository.Migrations
{
    public partial class _103001 : Migration
    {
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.CreateTable(
                name: "Datas",
                columns: table => new
                {
                    DatasId = table.Column<int>(type: "int", nullable: false)
                        .Annotation("SqlServer:Identity", "1, 1"),
                    DatasName = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    YwName = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    DatasNo = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    LcNo = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    Name = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    Rw = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    BlName = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    strstTime = table.Column<DateTime>(type: "datetime2", nullable: false),
                    IsDel = table.Column<bool>(type: "bit", nullable: false)
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_Datas", x => x.DatasId);
                });
        }

        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropTable(
                name: "Datas");
        }
    }
}
